3.56 \(\int \frac{b-\sqrt{b^2-4 a c}+2 c x^2}{\sqrt{1+\frac{2 c x^2}{b-\sqrt{b^2-4 a c}}} \sqrt{1+\frac{2 c x^2}{b+\sqrt{b^2-4 a c}}}} \, dx\)

Optimal. Leaf size=526 \[ \frac{x \left (b-\sqrt{b^2-4 a c}\right ) \sqrt{\frac{2 c x^2}{b-\sqrt{b^2-4 a c}}+1}}{\sqrt{\frac{2 c x^2}{\sqrt{b^2-4 a c}+b}+1}}+\frac{\left (b-\sqrt{b^2-4 a c}\right ) \sqrt{\sqrt{b^2-4 a c}+b} \sqrt{\frac{2 c x^2}{b-\sqrt{b^2-4 a c}}+1} F\left (\tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b+\sqrt{b^2-4 a c}}}\right )|-\frac{2 \sqrt{b^2-4 a c}}{b-\sqrt{b^2-4 a c}}\right )}{\sqrt{2} \sqrt{c} \sqrt{\frac{\frac{2 c x^2}{b-\sqrt{b^2-4 a c}}+1}{\frac{2 c x^2}{\sqrt{b^2-4 a c}+b}+1}} \sqrt{\frac{2 c x^2}{\sqrt{b^2-4 a c}+b}+1}}-\frac{\left (b-\sqrt{b^2-4 a c}\right ) \sqrt{\sqrt{b^2-4 a c}+b} \sqrt{\frac{2 c x^2}{b-\sqrt{b^2-4 a c}}+1} E\left (\tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b+\sqrt{b^2-4 a c}}}\right )|-\frac{2 \sqrt{b^2-4 a c}}{b-\sqrt{b^2-4 a c}}\right )}{\sqrt{2} \sqrt{c} \sqrt{\frac{\frac{2 c x^2}{b-\sqrt{b^2-4 a c}}+1}{\frac{2 c x^2}{\sqrt{b^2-4 a c}+b}+1}} \sqrt{\frac{2 c x^2}{\sqrt{b^2-4 a c}+b}+1}} \]

[Out]

((b - Sqrt[b^2 - 4*a*c])*x*Sqrt[1 + (2*c*x^2)/(b - Sqrt[b^2 - 4*a*c])])/Sqrt[1 +
 (2*c*x^2)/(b + Sqrt[b^2 - 4*a*c])] - ((b - Sqrt[b^2 - 4*a*c])*Sqrt[b + Sqrt[b^2
 - 4*a*c]]*Sqrt[1 + (2*c*x^2)/(b - Sqrt[b^2 - 4*a*c])]*EllipticE[ArcTan[(Sqrt[2]
*Sqrt[c]*x)/Sqrt[b + Sqrt[b^2 - 4*a*c]]], (-2*Sqrt[b^2 - 4*a*c])/(b - Sqrt[b^2 -
 4*a*c])])/(Sqrt[2]*Sqrt[c]*Sqrt[(1 + (2*c*x^2)/(b - Sqrt[b^2 - 4*a*c]))/(1 + (2
*c*x^2)/(b + Sqrt[b^2 - 4*a*c]))]*Sqrt[1 + (2*c*x^2)/(b + Sqrt[b^2 - 4*a*c])]) +
 ((b - Sqrt[b^2 - 4*a*c])*Sqrt[b + Sqrt[b^2 - 4*a*c]]*Sqrt[1 + (2*c*x^2)/(b - Sq
rt[b^2 - 4*a*c])]*EllipticF[ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b + Sqrt[b^2 - 4*a*c
]]], (-2*Sqrt[b^2 - 4*a*c])/(b - Sqrt[b^2 - 4*a*c])])/(Sqrt[2]*Sqrt[c]*Sqrt[(1 +
 (2*c*x^2)/(b - Sqrt[b^2 - 4*a*c]))/(1 + (2*c*x^2)/(b + Sqrt[b^2 - 4*a*c]))]*Sqr
t[1 + (2*c*x^2)/(b + Sqrt[b^2 - 4*a*c])])

_______________________________________________________________________________________

Rubi [A]  time = 1.86344, antiderivative size = 526, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 81, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.062 \[ \frac{x \left (b-\sqrt{b^2-4 a c}\right ) \sqrt{\frac{2 c x^2}{b-\sqrt{b^2-4 a c}}+1}}{\sqrt{\frac{2 c x^2}{\sqrt{b^2-4 a c}+b}+1}}+\frac{\left (b-\sqrt{b^2-4 a c}\right ) \sqrt{\sqrt{b^2-4 a c}+b} \sqrt{\frac{2 c x^2}{b-\sqrt{b^2-4 a c}}+1} F\left (\tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b+\sqrt{b^2-4 a c}}}\right )|-\frac{2 \sqrt{b^2-4 a c}}{b-\sqrt{b^2-4 a c}}\right )}{\sqrt{2} \sqrt{c} \sqrt{\frac{\frac{2 c x^2}{b-\sqrt{b^2-4 a c}}+1}{\frac{2 c x^2}{\sqrt{b^2-4 a c}+b}+1}} \sqrt{\frac{2 c x^2}{\sqrt{b^2-4 a c}+b}+1}}-\frac{\left (b-\sqrt{b^2-4 a c}\right ) \sqrt{\sqrt{b^2-4 a c}+b} \sqrt{\frac{2 c x^2}{b-\sqrt{b^2-4 a c}}+1} E\left (\tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b+\sqrt{b^2-4 a c}}}\right )|-\frac{2 \sqrt{b^2-4 a c}}{b-\sqrt{b^2-4 a c}}\right )}{\sqrt{2} \sqrt{c} \sqrt{\frac{\frac{2 c x^2}{b-\sqrt{b^2-4 a c}}+1}{\frac{2 c x^2}{\sqrt{b^2-4 a c}+b}+1}} \sqrt{\frac{2 c x^2}{\sqrt{b^2-4 a c}+b}+1}} \]

Antiderivative was successfully verified.

[In]  Int[(b - Sqrt[b^2 - 4*a*c] + 2*c*x^2)/(Sqrt[1 + (2*c*x^2)/(b - Sqrt[b^2 - 4*a*c])]*Sqrt[1 + (2*c*x^2)/(b + Sqrt[b^2 - 4*a*c])]),x]

[Out]

((b - Sqrt[b^2 - 4*a*c])*x*Sqrt[1 + (2*c*x^2)/(b - Sqrt[b^2 - 4*a*c])])/Sqrt[1 +
 (2*c*x^2)/(b + Sqrt[b^2 - 4*a*c])] - ((b - Sqrt[b^2 - 4*a*c])*Sqrt[b + Sqrt[b^2
 - 4*a*c]]*Sqrt[1 + (2*c*x^2)/(b - Sqrt[b^2 - 4*a*c])]*EllipticE[ArcTan[(Sqrt[2]
*Sqrt[c]*x)/Sqrt[b + Sqrt[b^2 - 4*a*c]]], (-2*Sqrt[b^2 - 4*a*c])/(b - Sqrt[b^2 -
 4*a*c])])/(Sqrt[2]*Sqrt[c]*Sqrt[(1 + (2*c*x^2)/(b - Sqrt[b^2 - 4*a*c]))/(1 + (2
*c*x^2)/(b + Sqrt[b^2 - 4*a*c]))]*Sqrt[1 + (2*c*x^2)/(b + Sqrt[b^2 - 4*a*c])]) +
 ((b - Sqrt[b^2 - 4*a*c])*Sqrt[b + Sqrt[b^2 - 4*a*c]]*Sqrt[1 + (2*c*x^2)/(b - Sq
rt[b^2 - 4*a*c])]*EllipticF[ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b + Sqrt[b^2 - 4*a*c
]]], (-2*Sqrt[b^2 - 4*a*c])/(b - Sqrt[b^2 - 4*a*c])])/(Sqrt[2]*Sqrt[c]*Sqrt[(1 +
 (2*c*x^2)/(b - Sqrt[b^2 - 4*a*c]))/(1 + (2*c*x^2)/(b + Sqrt[b^2 - 4*a*c]))]*Sqr
t[1 + (2*c*x^2)/(b + Sqrt[b^2 - 4*a*c])])

_______________________________________________________________________________________

Rubi in Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((2*c*x**2-(-4*a*c+b**2)**(1/2)+b)/(1+2*c*x**2/(b-(-4*a*c+b**2)**(1/2)))**(1/2)/(1+2*c*x**2/(b+(-4*a*c+b**2)**(1/2)))**(1/2),x)

[Out]

Timed out

_______________________________________________________________________________________

Mathematica [C]  time = 0.698521, size = 203, normalized size = 0.39 \[ -\frac{i \left (\left (\sqrt{b^2-4 a c}+b\right ) E\left (i \sinh ^{-1}\left (\sqrt{2} \sqrt{\frac{c}{b-\sqrt{b^2-4 a c}}} x\right )|\frac{b-\sqrt{b^2-4 a c}}{b+\sqrt{b^2-4 a c}}\right )-2 \sqrt{b^2-4 a c} F\left (i \sinh ^{-1}\left (\sqrt{2} \sqrt{\frac{c}{b-\sqrt{b^2-4 a c}}} x\right )|\frac{b-\sqrt{b^2-4 a c}}{b+\sqrt{b^2-4 a c}}\right )\right )}{\sqrt{2} \sqrt{\frac{c}{b-\sqrt{b^2-4 a c}}}} \]

Antiderivative was successfully verified.

[In]  Integrate[(b - Sqrt[b^2 - 4*a*c] + 2*c*x^2)/(Sqrt[1 + (2*c*x^2)/(b - Sqrt[b^2 - 4*a*c])]*Sqrt[1 + (2*c*x^2)/(b + Sqrt[b^2 - 4*a*c])]),x]

[Out]

((-I)*((b + Sqrt[b^2 - 4*a*c])*EllipticE[I*ArcSinh[Sqrt[2]*Sqrt[c/(b - Sqrt[b^2
- 4*a*c])]*x], (b - Sqrt[b^2 - 4*a*c])/(b + Sqrt[b^2 - 4*a*c])] - 2*Sqrt[b^2 - 4
*a*c]*EllipticF[I*ArcSinh[Sqrt[2]*Sqrt[c/(b - Sqrt[b^2 - 4*a*c])]*x], (b - Sqrt[
b^2 - 4*a*c])/(b + Sqrt[b^2 - 4*a*c])]))/(Sqrt[2]*Sqrt[c/(b - Sqrt[b^2 - 4*a*c])
])

_______________________________________________________________________________________

Maple [F]  time = 0.2, size = 0, normalized size = 0. \[ \int{1 \left ( 2\,c{x}^{2}-\sqrt{-4\,ac+{b}^{2}}+b \right ){\frac{1}{\sqrt{1+2\,{\frac{c{x}^{2}}{b-\sqrt{-4\,ac+{b}^{2}}}}}}}{\frac{1}{\sqrt{1+2\,{\frac{c{x}^{2}}{b+\sqrt{-4\,ac+{b}^{2}}}}}}}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((2*c*x^2-(-4*a*c+b^2)^(1/2)+b)/(1+2*c*x^2/(b-(-4*a*c+b^2)^(1/2)))^(1/2)/(1+2*c*x^2/(b+(-4*a*c+b^2)^(1/2)))^(1/2),x)

[Out]

int((2*c*x^2-(-4*a*c+b^2)^(1/2)+b)/(1+2*c*x^2/(b-(-4*a*c+b^2)^(1/2)))^(1/2)/(1+2
*c*x^2/(b+(-4*a*c+b^2)^(1/2)))^(1/2),x)

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{2 \, c x^{2} + b - \sqrt{b^{2} - 4 \, a c}}{\sqrt{\frac{2 \, c x^{2}}{b + \sqrt{b^{2} - 4 \, a c}} + 1} \sqrt{\frac{2 \, c x^{2}}{b - \sqrt{b^{2} - 4 \, a c}} + 1}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((2*c*x^2 + b - sqrt(b^2 - 4*a*c))/(sqrt(2*c*x^2/(b + sqrt(b^2 - 4*a*c)) + 1)*sqrt(2*c*x^2/(b - sqrt(b^2 - 4*a*c)) + 1)),x, algorithm="maxima")

[Out]

integrate((2*c*x^2 + b - sqrt(b^2 - 4*a*c))/(sqrt(2*c*x^2/(b + sqrt(b^2 - 4*a*c)
) + 1)*sqrt(2*c*x^2/(b - sqrt(b^2 - 4*a*c)) + 1)), x)

_______________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{2 \, c x^{2} + b - \sqrt{b^{2} - 4 \, a c}}{\sqrt{\frac{2 \, c x^{2} + b + \sqrt{b^{2} - 4 \, a c}}{b + \sqrt{b^{2} - 4 \, a c}}} \sqrt{\frac{2 \, c x^{2} + b - \sqrt{b^{2} - 4 \, a c}}{b - \sqrt{b^{2} - 4 \, a c}}}}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((2*c*x^2 + b - sqrt(b^2 - 4*a*c))/(sqrt(2*c*x^2/(b + sqrt(b^2 - 4*a*c)) + 1)*sqrt(2*c*x^2/(b - sqrt(b^2 - 4*a*c)) + 1)),x, algorithm="fricas")

[Out]

integral((2*c*x^2 + b - sqrt(b^2 - 4*a*c))/(sqrt((2*c*x^2 + b + sqrt(b^2 - 4*a*c
))/(b + sqrt(b^2 - 4*a*c)))*sqrt((2*c*x^2 + b - sqrt(b^2 - 4*a*c))/(b - sqrt(b^2
 - 4*a*c)))), x)

_______________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{b + 2 c x^{2} - \sqrt{- 4 a c + b^{2}}}{\sqrt{\frac{b + 2 c x^{2} - \sqrt{- 4 a c + b^{2}}}{b - \sqrt{- 4 a c + b^{2}}}} \sqrt{\frac{b + 2 c x^{2} + \sqrt{- 4 a c + b^{2}}}{b + \sqrt{- 4 a c + b^{2}}}}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((2*c*x**2-(-4*a*c+b**2)**(1/2)+b)/(1+2*c*x**2/(b-(-4*a*c+b**2)**(1/2)))**(1/2)/(1+2*c*x**2/(b+(-4*a*c+b**2)**(1/2)))**(1/2),x)

[Out]

Integral((b + 2*c*x**2 - sqrt(-4*a*c + b**2))/(sqrt((b + 2*c*x**2 - sqrt(-4*a*c
+ b**2))/(b - sqrt(-4*a*c + b**2)))*sqrt((b + 2*c*x**2 + sqrt(-4*a*c + b**2))/(b
 + sqrt(-4*a*c + b**2)))), x)

_______________________________________________________________________________________

GIAC/XCAS [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((2*c*x^2 + b - sqrt(b^2 - 4*a*c))/(sqrt(2*c*x^2/(b + sqrt(b^2 - 4*a*c)) + 1)*sqrt(2*c*x^2/(b - sqrt(b^2 - 4*a*c)) + 1)),x, algorithm="giac")

[Out]

Timed out